<div id="modelCommentList" th:fragment="model_comment" xmlns:th="http://www.thymeleaf.org">
    <table cellpadding="0" cellspacing="0" border="0"
           class="responsive  display table  dataTable" width="100%"
           id="DataTables_Table_0" aria-describedby="DataTables_Table_0_info">
        <thead>
        <tr role="row">
            <th class="sorting_asc" role="columnheader" tabindex="0"
                aria-controls="DataTables_Table_0" rowspan="1" colspan="1"
                aria-sort="ascending" aria-label="模型编号: activate to sort column descending">
                评分
            </th>
            <th class="sorting" role="columnheader" tabindex="0"
                aria-controls="DataTables_Table_0" rowspan="1" colspan="1"
                aria-label="模型名称: activate to sort column ascending">评价
            </th>
            <th class="sorting" role="columnheader" tabindex="0"
                aria-controls="DataTables_Table_0" rowspan="1" colspan="1"
                aria-label="行业: activate to sort column ascending">评论人
            </th>
            <th class="sorting" role="columnheader" tabindex="0"
                aria-controls="DataTables_Table_0" rowspan="1" colspan="1"
                aria-label="场景: activate to sort column ascending">状态
            </th>
            <th class="sorting" role="columnheader" tabindex="0"
                aria-controls="DataTables_Table_0" rowspan="1" colspan="1"
                aria-label="上线状态: activate to sort column ascending">操作
            </th>
        </tr>
        </thead>

        <tbody role="alert" aria-live="polite" aria-relevant="all" th:unless="${#lists.isEmpty(modelComment)}">
        <tr th:each="comment: ${modelComment}" class="gradeX odd">
            <td th:text="${comment.score}"></td>
            <td th:text="${comment.content}"></td>
            <td th:text="${comment.evaluateUser}"></td>
            <td th:text="${comment.status}"></td>
            <td class=" ">
                <a href="javascript:;" onclick="edite(this,'/modelController/model_comment.html')" th:value="${model.id}" class="btn-success btn btn-mini">删除</a>
                <a href="javascript:;" onclick="edite(this,'/modelController/model_comment.html')" th:value="${model.id}" class="btn-success btn btn-mini">回复</a>
            </td>
        </tr>
        </tbody>
        <tbody role="alert" aria-live="polite" aria-relevant="all" th:if="${#lists.isEmpty(modelComment)}">
        <tr>
            <td colspan="5">没有符合查询条件的记录</td>
        </tr>
        </tbody>
    </table>
    </table>
    <input id="pageAllCount" type="hidden" th:value="${totalSize}"/>
</div>